package com.nzw.pojo.shift;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2018\3\21 0021.
 * 加班明细
 */

@Table(name = "t_shiftdetail")
public class ShiftDetail {

    private Long id;
    private Long shiftId;           //加班id
    private String gunCode;         //抢号
    private Long companyId;         //企业id
    private Long shopId;            //门店id
    private String openId;          //用户openid
    private String shopName;        //门店名
    private String oilCode;         //油号
    private Integer total;          //总共消费
    private String orderCode;       //订单号
    private Integer payMoney;       //支付金额
    private Integer discount;       //优惠金额
    private Date payDate;           //支付时间
    private Date createDate;        //创建时间
    private Boolean state;          //支付状态
    private Boolean refund;         //是否退款
    private String refundCode;      //退圈码
    private Date refundDate;        //退款时间
    private Integer refnndMoney;    //退款金额
    private String refundNote;      //退款备注
    private Integer wxoil;          //油品
    private Integer wxcommodit;     //商品
    private Integer getIntegral;    //获取积分
    private String wxOrderCode;     //微信支付订单号
    private Double oilNumber;       //油数量
    private Integer price;          //油品单价
    private Long couponId;          //优惠券id
    private Integer couponMoney;    //优惠券优惠金额
    private Long    carPreferRuleId;      //专车优惠规则id；
    private Integer carpreferMoney;    //专车优惠规则优惠金额
    private Long    memberPreId;        //会员优惠规则id
    private Integer memberPreMoney;     //会员优惠规则优惠的金额
    private Boolean notify;             //是否成功通知线下
    private Boolean onLine;             //是否是线上
    private Long oilgunstateId;         //线下油品信息id
    private String note;                //备注


    @Column(name = "couponMoney")
    public Integer getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(Integer couponMoney) {
        this.couponMoney = couponMoney;
    }


    @Column(name = "createDate")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Column(name = "carPreferRuleId")
    public Long getCarPreferRuleId() {
        return carPreferRuleId;
    }

    public void setCarPreferRuleId(Long carPreferRuleId) {
        this.carPreferRuleId = carPreferRuleId;
    }

    @Column(name = "carpreferMoney")
    public Integer getCarpreferMoney() {
        return carpreferMoney;
    }

    public void setCarpreferMoney(Integer carpreferMoney) {
        this.carpreferMoney = carpreferMoney;
    }

    @Column(name = "memberPreId")
    public Long getMemberPreId() {
        return memberPreId;
    }

    public void setMemberPreId(Long memberPreId) {
        this.memberPreId = memberPreId;
    }

    @Column(name = "memberPreMoney")
    public Integer getMemberPreMoney() {
        return memberPreMoney;
    }

    public void setMemberPreMoney(Integer memberPreMoney) {
        this.memberPreMoney = memberPreMoney;
    }

    @Column(name = "note")
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Column(name = "refundNote")
    public String getRefundNote() {
        return refundNote;
    }

    public void setRefundNote(String refundNote) {
        this.refundNote = refundNote;
    }

    @Column(name = "couponId")
    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    @Column(name = "refund")
    public Boolean getRefund() {
        return refund;
    }

    public void setRefund(Boolean refund) {
        this.refund = refund;
    }


    @Column(name = "refundCode")
    public String getRefundCode() {
        return refundCode;
    }

    public void setRefundCode(String refundCode) {
        this.refundCode = refundCode;
    }

    @Column(name = "refundDate")
    public Date getRefundDate() {
        return refundDate;
    }

    public void setRefundDate(Date refundDate) {
        this.refundDate = refundDate;
    }

    @Column(name = "price")
    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Column(name = "wxoil")
    public Integer getWxoil() {
        return wxoil;
    }

    public void setWxoil(Integer wxoil) {
        this.wxoil = wxoil;
    }


    @Column(name = "getIntegral")
    public Integer getGetIntegral() {
        return getIntegral;
    }

    public void setGetIntegral(Integer getIntegral) {
        this.getIntegral = getIntegral;
    }

    @Column(name = "wxOrderCode")
    public String getWxOrderCode() {
        return wxOrderCode;
    }

    public void setWxOrderCode(String wxOrderCode) {
        this.wxOrderCode = wxOrderCode;
    }

    @Column(name = "wxcommodit")
    public Integer getWxcommodit() {
        return wxcommodit;
    }

    public void setWxcommodit(Integer wxcommodit) {
        this.wxcommodit = wxcommodit;
    }


    @Column(name ="refnndMoney")
    public Integer getRefnndMoney() {
        return refnndMoney;
    }

    public void setRefnndMoney(Integer refnndMoney) {
        this.refnndMoney = refnndMoney;
    }

    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }


    @Column(name = "gunCode")
    public String getGunCode() {
        return gunCode;
    }

    public void setGunCode(String gunCode) {
        this.gunCode = gunCode;
    }


    @Column(name = "notify")
    public Boolean getNotify() {
        return notify;
    }

    public void setNotify(Boolean notify) {
        this.notify = notify;
    }

    @Column(name = "shopName")
    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }


    @Column(name = "oilCode")
    public String getOilCode() {
        return oilCode;
    }

    public void setOilCode(String oilCode) {
        this.oilCode = oilCode;
    }


    @Column(name = "orderCode")
    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    @Column(name = "openId")
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Column(name = "payMoney")
    public Integer getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    @Column(name = "discount")
    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }


    @Column(name = "payDate")
    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }


    @Column(name = "state")
    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    @Column(name = "shiftId")
    public Long getShiftId() {
        return shiftId;
    }

    public void setShiftId(Long shiftId) {
        this.shiftId = shiftId;
    }


    @Column(name = "shopId")
    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }


    @Column(name = "total")
    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    @Column(name = "oilNumber")
    public Double getOilNumber() {
        return oilNumber;
    }

    public void setOilNumber(Double oilNumber) {
        this.oilNumber = oilNumber;
    }

    @Column(name = "onLine")
    public Boolean getOnLine() {
        return onLine;
    }

    public void setOnLine(Boolean onLine) {
        this.onLine = onLine;
    }


    @Column(name = "oilgunstateId")
    public Long getOilgunstateId() {
        return oilgunstateId;
    }

    public void setOilgunstateId(Long oilgunstateId) {
        this.oilgunstateId = oilgunstateId;
    }

    @Override
    public String toString() {
        return "ShiftDetail{" +
                "id=" + id +
                ", shiftId=" + shiftId +
                ", gunCode='" + gunCode + '\'' +
                ", companyId=" + companyId +
                ", shopId=" + shopId +
                ", openId='" + openId + '\'' +
                ", shopName='" + shopName + '\'' +
                ", oilCode='" + oilCode + '\'' +
                ", orderCode='" + orderCode + '\'' +
                ", payMoney=" + payMoney +
                ", discount=" + discount +
                ", payDate=" + payDate +
                ", state=" + state +
                ", wxoil=" + wxoil +
                ", wxcommodit=" + wxcommodit +
                ", getIntegral=" + getIntegral +
                ", wxOrderCode='" + wxOrderCode + '\'' +
                '}';
    }
}
